#define _CRT_SECURE_NO_WARNINGS 1

#include "func.h"

int main()
{
	int arr[] = { 1,2,3,4,5,5,4,3,2,1,1,2};
	int arr1[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,0,0,0,0,0,123,421,3242,53543,232,22222,33333};
	int size = sizeof(arr) / sizeof(arr[0]);
	int size1 = sizeof(arr1) / sizeof(arr1[0]);
	//UpHeapSort(arr, size);
	//DownHeapSort(arr1, size1);
	//for (size_t i = 0; i < size; i++)
	//{
	//	printf("%d ", arr[i]);
	//}
	//for (size_t i = 0; i < size1; i++)
	//{
	//	printf("%d ", arr1[i]);
	//}
	//printf("\n");
	Top_K(arr1, size1, 5);
	return 0;

	
}